<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>用户中心</title>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/pages/common/commonHeader.jsp"></jsp:include>
<script type="text/javascript" src="pages/demo/js/user.js"></script>
</head>
<body>
	<table border="1">
		<tr><th>用户名</th><th>密码</th></tr>
		<c:forEach items="${rds.data}" var="user">
			<tr><td>${user.userName}</td><td>${user.userPwd}</td></tr>
		</c:forEach>
	</table>
	<div id="user_login">
    	<div id="user_id"></div>
        <input type="text" id="user_name" />
        <input type="password" id="user_passwoed" />
        <input type="button" id="user_login_button" value="登陆" />
    </div>
    <div id="user_regist">
    	<div id="user_id"></div>
        <input type="text" id="user_name_regist" />
        <input type="password" id="user_passwoed_regist" />
        <input type="button" id="user_regist_button" value="注册" />
    </div>
    <img alt="验证码" src="code/get" />
    <input id="fileUpload" type="file" name="fileUpload" />
    <input type="button" value="上传" />
</body>
</html>